package com.zk.yygh.dict.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zk.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author: 张凯
 * @date: 2022/5/21 - 21:56
 */
public interface DictService extends IService<Dict> {

    List<Dict> getChildById(Long id);

    void exportDict(HttpServletResponse response);

    void importDict(MultipartFile file);

    String getName(String dictCode, Integer value);

    List<Dict> getProCityName(String province);

    List<Dict> getCityByProvince(String dictType);
}
